package com.zjsd.sqeybusiness.service;

import java.text.ParseException;
import java.util.List;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.zjsd.sqeybusiness.domain.Achievements;
import com.zjsd.sqeybusiness.domain.PlatformProductCategory;
import com.zjsd.sqeybusiness.dto.*;

/**
 * 业务员业绩
Service接口
 *
 * @author Zheng
 * @date 2021-07-14
 */
public interface IAchievementsService
{
    /**
     * 查询业务员业绩

     *
     * @param achid 业务员业绩
ID
     * @return 业务员业绩

     */
    public Achievements selectAchievementsById(Long achid);

    /**
     * 查询业务员业绩
列表
     *
     * @param achievements 业务员业绩

     * @return 业务员业绩
集合
     */
    public List<Achievements> selectAchievementsList(Achievements achievements);

    /**
     * 新增业务员业绩

     *
     * @param achievements 业务员业绩

     * @return 结果
     */
    public int insertAchievements(Achievements achievements);

    /**
     * 修改业务员业绩

     *
     * @param achievements 业务员业绩

     * @return 结果
     */
    public int updateAchievements(Achievements achievements);

    public int examAchievements(Achievements achievements);
    /**
     * 批量删除业务员业绩

     *
     * @param achids 需要删除的业务员业绩
ID
     * @return 结果
     */
    public int deleteAchievementsByIds(Long[] achids);

    /**
     * 删除业务员业绩
信息
     *
     * @param achid 业务员业绩
ID
     * @return 结果
     */
    public int deleteAchievementsById(Long achid);

    List<SysDept> getProvinceList();

    MonthDeductDTO queryYwyDeductInfo(ComputeDeductDTO computeDeductDTO);

    List<EmployeeDeductDTO> queryEmployeeDeduct(QueryDTO queryDTO);

    List<EmployeeDeductDTO> queryEmployeeDeductNew(QueryDTO queryDTO);


    List<SysDept> queryDeptments(SysDept sysDept);

    List<AreaDTO> queryProvinceList(AreaDTO areaDTO);

    List<AreaDTO> queryCityList(AreaDTO areaDTO);

    List<WxuserinfoDTO> queryWxuserList(WxuserinfoDTO wxuserinfoDTO);

    int updateWxuserLxflag(WxuserinfoDTO wxuserinfoDTO);

    int updateAchievementsWeb(Achievements achievements);

    List<Achievements> listAchDetail(Achievements achievements) throws ParseException;

    int queryBakcAchive(Achievements achievements);

    List<Achievements> examAchieList(Achievements achievements) throws ParseException;

    int  examAchieListDai(Achievements achievements) throws ParseException;

    List<IntegralOrderDTO> queryIntegralOrders(IntegralOrderDTO integralOrderDTO);

    int integralOrderFh(IntegralOrderDTO integralOrderDTO);

    List<Achievements> queryAchlistByShphone(Achievements achievements);

    int updateGsywy(GsywyDTO gsywyDTO);

}
